package api

import (
	"github.com/gin-gonic/gin"
	"myApp/handler"
)

func InitRouter() *gin.Engine {
	r := gin.Default()
	group1 := r.Group("api/user")
	{
		group1.POST("get", handler.Get)
		group1.POST("export", handler.Export)
	}
	return r
}
